package cn.sdormitory.retention.dao;

import cn.sdormitory.retention.DormitoryRetention;
import cn.sdormitory.retention.RetentionVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : yy
 * @date: 2024/9/11 11:50
 * @description:
 */
@Mapper
public interface RetentionDao extends BaseMapper<DormitoryRetention> {

    List<RetentionVO> listTodayRetention();

    List<RetentionVO> getRetentionStuByClassId(Long classId, String rq);
	
	List<DormitoryRetention> getMonthlyRetention(List<Long> classIds, String accessDate);
}
